﻿using TestBat.IModels.Domain;
using TestBat.IViewModels.Workspaces.Gradings;
using TestBat.ViewModels.Base;

namespace TestBat.ViewModels.Workspaces.Gradings
{
    public class TraineeComboBoxItemViewModel : ComboBoxItemViewModel<ITrainee>, ITraineeComboBoxItemViewModel
    {
        public override string Text
        {
            get
            {
                if (Item != null)
                    return Item.Username;
                return "All"; // HACK: UI text in the view model!
            }
        }
    }
}
